package com.druid.response;

import com.druid.entity.CeSecurityPermission;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value="SecurityRolePermissionVm对象", description="角色权限列表视图层对象")
public class SecurityRolePermissionVm {

    @ApiModelProperty(value = "角色名称")
    private String roleName;

    @ApiModelProperty(value = "角色ID")
    private Integer roleId;

    @ApiModelProperty(value = "权限列表")
    private List<CeSecurityPermission> ceSecurityPermissions;

}
